package com.lic.lesson2db;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@ImportResource(locations = {"classpath:config/druid-config.xml"})
public class Lesson2DbApplication {

    public static void main(String[] args) {
        SpringApplication.run(Lesson2DbApplication.class, args);
    }
}
